package com.bk.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 展示返回给前端文章详情
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class InnovationDetailsVO implements Serializable {
    //帖子主键
    private Long id;
    //标题名称
    private String title;
    //作者名称
    private String authorName;
    //作者头像
    private String authorImage;
    //帖子内容
    private String content;
    //帖子类型
    private String type;
    //帖子图标
    private String innovationImage;
    //评论数量
    private Long commonAmount;
    //点赞数量
    private Long likeAmount;
    //收藏数量
    private Long collectionAmount;
    //浏览量
    private Long look;
    //更新时间
    private LocalDateTime updateTime;
    //展示评论详情
    private List<CommentVO> comments;
}
